package com.itboye.mybatis.model;

import com.itboye.mybatis.enumtype.CodeType;
import com.itboye.mybatis.enumtype.DataStatus;

/**
 * SecurityCodeModel.java
 * Created on  2016/7/29 10:38
 * 版本       修改时间          作者      修改内容
 * V1.0.1    2016/7/29      hebidu    初始版本
 * <p>
 * Copyright (c) 2013 杭州博也网络科技有限公司 版权所有
 * HANGZHOU BOYE TECHNOLOGY CO.,LTD. All Rights Reserved.
 */
public class SecurityCodeModel {



    @Override
    public String toString() {
        return "SecurityCodeModel{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", accepter='" + accepter + '\'' +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", ip=" + ip +
                ", clientId='" + clientId + '\'' +
                ", status=" + status +
                ", type=" + type +
                '}';
    }

    private int id;
    private String code;
    private String accepter;
    private int starttime;
    private int endtime;
    private long ip;
    private String clientId;
    private int status;
    private CodeType type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAccepter() {
        return accepter;
    }

    public void setAccepter(String accepter) {
        this.accepter = accepter;
    }

    public int getStarttime() {
        return starttime;
    }

    public void setStarttime(int starttime) {
        this.starttime = starttime;
    }

    public int getEndtime() {
        return endtime;
    }

    public void setEndtime(int endtime) {
        this.endtime = endtime;
    }

    public long getIp() {
        return ip;
    }

    public void setIp(long ip) {
        this.ip = ip;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public CodeType getType() {
        return type;
    }

    public void setType(CodeType type) {
        this.type = type;
    }
}
